body {
    flex-direction: column;
    background: #fff;

    header {
        padding: 2.4rem 2.1rem 1.1rem;
        width: 100%;
        height: 5.7rem;
        border-bottom: 1px solid #ddd;
    }

    main {
        overflow-y: scroll;
        margin: 1.5rem 0;
        width: auto;
        background: #fff;
    }

    footer {
        width: 100%;
        height: 7.7rem;
        box-shadow: 0rem 0rem 1rem 0rem rgba(0, 0, 0, 0.3);
    }
}

.content {
    padding: 0rem 1.4rem 0rem 1.5rem;
}

.title {
    justify-content: space-around;
    align-items: center;

    li {
        position: relative;
        width: 8.4rem;
        min-height: 2.2rem;
        font-size: 1.6rem;
        line-height: 2.2rem;
        color: #9a9a9a;

        span {
            position: absolute;
            bottom: -1rem;
            left: 16%;
            width: 5.4rem;
            height: 0.1rem;
            background: #fff;
        }
    }

    .active {
        font-size: 2rem !important;
        color: #4294FF !important;

        span {
            width: 5.4rem;
            height: 0.1rem;
            background: #4294FF;
        }
    }

}

.content {
    li {
        display: none;
    }

    .show {
        display: block;
    }
}

.LatestCourses {
    p {
        margin-top: 0.5rem;
    }

    .coursesContent {
        overflow: hidden;
        width: 100%;
        height: 21rem;
        border-radius: 1.5rem;
        box-shadow: 0px 0px 0.8rem 0px rgba(0, 0, 0, 0.4);

        .banner {
            height: 15rem;
            background: #f1f1f1;
            background-size: contain;
        }

        .introduction {
            height: 8rem;
            text-indent: 1.6rem;

            p {
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
            }
        }
    }
}

.coursesDetails {
    position: relative;
    height: 14rem;
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0px 0px 0.4rem 0.08rem rgba(0, 0, 0, 0.4);
    background: #f1f1f1;

    img {
        width: 100%;
        height: 14rem;
        border-radius: 1.5rem;
    }

    .textbox {
        position: absolute;
        top: 5.6rem;
        left: 0;
        padding: 0.5rem 1rem;
        flex-direction: column;
        justify-content: space-between;
        height: 5.5rem;
        width: 100%;
        background: rgba(0, 0, 0, 0.3);
        p {
            color: #fff;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
    }
}